using System;

namespace Nop.Core.Domain.XJ
{
	/// <summary>
	/// 设施设备库存
	/// </summary>
	public class XJEquipmentStock : BaseEntity
	{
		/// <summary>
		/// 巡检点
		/// </summary>
		public int PlaceId { get; set; }
		/// <summary>
		/// 使用区域具体位置
		/// </summary>
		public string Location { get; set; }
		/// <summary>
		/// 设施设备Id
		/// <see cref="XJEquipment"/>
		/// </summary>
		public int EquipmentId { get; set; }
		/// <summary>
		/// 名称
		/// </summary>
		public string Name { get; set; }
		/// <summary>
		/// 品牌
		/// </summary>
		public string Manufacturer { get; set; }
		/// <summary>
		/// 规格型号
		/// </summary>
		public string Specification { get; set; }
		/// <summary>
		/// 单价
		/// </summary>
		public decimal Price { get; set; }
		/// <summary>
		/// 数量
		/// </summary>
		public int Amount { get; set; }
		/// <summary>
		/// 冻结数量
		/// </summary>
		public int Freeze { get; set; }
		/// <summary>
		/// 创建人
		/// </summary>
		public int CustomerId { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreatedOn { get; set; }
		/// <summary>
		/// 开始使用时间
		/// 领用时间
		/// </summary>
		public DateTime? StartOn { get; set; }
		/// <summary>
		/// 结束使用时间
		/// 停用时间
		/// </summary>
		public DateTime? EndOn { get; set; }

		/// <summary>
		/// 库存状态
		/// <see cref="StockStateEnum"/>
		/// </summary>
		public int State { get; set; }
	}
}
